.PHONY:all
all:Server Client
Server:Server.cc ./include/muduo/proto/codec.cc protocol.pb.cc
	g++ -o $@ $^ -std=c++14 -I./include -L./lib -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz

Client:Client.cc ./include/muduo/proto/codec.cc protocol.pb.cc
	g++ -o $@ $^ -std=c++14 -I./include -L./lib -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz
.PHONY:clean
clean:
	rm -f Server Client